import { ajax } from "@/utils/api";
import { Category } from "./dto";

// export const signupService = (payload: any) => {
//   return ajax.post(`/signup`, payload);
// };

// export const signinService = (payload: any) => {
//   return ajax.post(`/signin`, payload);
// };

export const handleGetCategoryApi = (payload: any) => {
  return ajax.get<Array<Category>>(`/categories`);
};
